load spamData.mat;
Xbin = Xtrain > 0;
XbinTest = Xtest > 0;
alpha = 0.001;
epsilon = 10;
[trainErrorBinary,testErrorBinary] = logisticRegression(Xbin ,ytrain, XbinTest, ytest, alpha, epsilon)
